package com.kgc.basicprovider.service;

import com.kgc.basic.pojo.Account;
import com.kgc.basic.util.ResponseMsg;

import java.util.Map;

public interface AccountService {

    //校验编码是否重复
    ResponseMsg selectAccountByCode(String code);

    ResponseMsg selectAccountByPage(Map<String, Object> map);

    ResponseMsg insertAccount(Account account);

    ResponseMsg updateAccount(Account account);

    ResponseMsg deleteAccount(int id);

    ResponseMsg selectAllAccount();
}
